package com.lt.exam.bingren;

import com.lt.exam.ZhuangShiQi.BingLi;
import com.lt.exam.zhuhemoshi.ShiXian.YiSheng;

/**
 * @author LT
 * @version 1.0
 * @PackageName com.lt.exam.bingren
 * @ClassName BingRen
 * @Description to do
 * @date 2021/11/30 11:48
 * 病人实体类
 */
public class BingRen {
    //病人姓名
    private String Name;
    //医院部门姓名
    private String BuMenName;
    //医生姓名
    private String YiShengName;
    //病例详情
    private BingLi bingLi;
    //医生对象
    private YiSheng yisheng;


    public YiSheng getYisheng() {
        return yisheng;
    }

    public void setYisheng(YiSheng yisheng) {
        this.yisheng = yisheng;
    }


    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public String getBuMenName() {
        return BuMenName;
    }

    public void setBuMenName(String buMenName) {
        BuMenName = buMenName;
    }

    public String getYiShengName() {
        return YiShengName;
    }

    public void setYiShengName(String yiShengName) {
        YiShengName = yiShengName;
    }

    public BingLi getBingLi() {
        return bingLi;
    }

    public void setBingLi(BingLi bingLi) {
        this.bingLi = bingLi;
    }

    public BingRen() {
        super();
    }

    public BingRen(String name, String buMenName, String yiShengName, BingLi bingLi, boolean isInspect) {
        Name = name;
        BuMenName = buMenName;
        YiShengName = yiShengName;
        this.bingLi = bingLi;
    }

    @Override
    public String toString() {
        return "病人信息：" +
                "姓名：'" + Name + '\'' +
                ", 科室：'" + BuMenName + '\'' +
                ", 主治医生：'" + YiShengName + '\'' +
                ", 病例详情：" + bingLi +
                '。';
    }
}
